package cn.zn.modules.expense.vo;

import lombok.Data;

import java.time.format.DateTimeFormatter;
import java.util.Map;

@Data
public abstract class BaseApplyInfoTicket {
    private String qrCodeUrl;
    private String templateName;
    private String title;
    private ApplyInfo applyInfo;
    // 审批人信息
    private Map<String,String> auditMap;

    public String getApplyDate() {
        return applyInfo.getApplyDate().format(DateTimeFormatter.ofPattern("yyyy年MM月dd日"));
    }
}
